package yl.hs.bmipfull.pojo.flow;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  流程节点信息实体类<br/>
 * 创建时间: 2021年06月22日 16时24分33秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "流程节点信息", mapCode = "flow_node")
public class FlowNodeEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "流程节点信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "FLNO")
    private String sn;
    /**
     * 流程编号
     */
    private String flowSN;
    /**
     * 节点名称
     */
    private String nodeName;
    /**
     * 节点拼音
     */
    private String nodeNamePY;
    /**
     * 节点名称代码
     */
    private String nodeCode;
    /**
     * 备注
     */
    private String remark;
    /**
     * 状态
     */
    private Short state;
    /**
     * 通过类型
     */
    private Short passType;
    /**
     * 操作人员
     */
    private String[] handlers;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getFlowSN() {
        return this.flowSN;
    }

    public void setFlowSN(String flowSN) {
        this.flowSN = flowSN;
    }

    public String getNodeName() {
        return this.nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getNodeNamePY() {
        return this.nodeNamePY;
    }

    public void setNodeNamePY(String nodeNamePY) {
        this.nodeNamePY = nodeNamePY;
    }

    public String getNodeCode() {
        return this.nodeCode;
    }

    public void setNodeCode(String nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Short getPassType() {
        return this.passType;
    }


    //region 辅助数据

    public void setPassType(Short passType) {
        this.passType = passType;
    }

    public String[] getHandlers() {
        return handlers;
    }

    public void setHandlers(String[] handlers) {
        this.handlers = handlers;
    }


    //endregion

}